
using Core.SimpleTemp.Application.UserApp;
using Core.SimpleTemp.Common;
using Core.SimpleTemp.Entitys;
using Core.Toolkit.Core.Application;
using System;
using System.Collections.Generic;

namespace Core.SimpleTemp.Application
{
    [CreateMap(typeof(CBS_List))]
    public class CBS_ListDto : Dto
    {
        /// <summary>
        /// 承包商代码
        /// </summary>
        public String ContractorCode { get; set; }
        /// <summary>
        /// 承包商名称
        /// </summary>
        public String ContractorName { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public String Arrdess { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public String phone { get; set; }
        /// <summary>
        /// 主要施工类别ID
        /// </summary>
        public String ConstructionCategory { get; set; }

        /// <summary>
        /// 主要施工类别名称
        /// </summary>
        [KeyToValue("cbssglb", "ConstructionCategory")]
        public String ConstructionCategoryName { get; set; }

        /// <summary>
        /// 其他施工类别
        /// </summary>
        public String OtherConstructionCategory { get; set; }
        /// <summary>
        /// 资质名称
        /// </summary>
        public String QualificationName { get; set; }

        /// <summary>
        /// 资质等级
        /// </summary>
        public String QualificationLevel { get; set; }
        /// <summary>
        /// 技术人员情况
        /// </summary>
        public String TechnicalStaffSituation { get; set; }
        /// <summary>
        /// 主要业绩
        /// </summary>
        public String MainaAchievement { get; set; }
        /// <summary>
        /// 状态(合格/不合格)
        /// </summary>
        public String status { get; set; }

        /// <summary>
        /// 是否黑名单
        /// </summary>
        public Boolean IsBack { get; set; }

        /// <summary>
        /// 隶属工厂
        /// </summary
        public Guid? CreateFactory { get; set; }

        [KeyToValue("9002", "CreateFactory")]
        public String CreateFactoryText { get; set; }

        /// <summary>
        /// 主管部门
        /// </summary>
        public Guid? ManageDept { get; set; }
        /// <summary>
        /// 创建部门
        /// </summary>
        public Guid? CreateDept { get; set; }
        /// <summary>
        /// 更改部门
        /// </summary>
        public Guid? UpdateDept { get; set; }

        /// <summary>
        /// 负责人姓名
        /// </summary>
        public String PrincipalName { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public int? Age { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public String IDNumber { get; set; }

        /// <summary>
        /// 负责人联系电话
        /// </summary>
        public String PrincipalPhone { get; set; }


        public SysDepartmentDto SysDepartment { get; set; }

        public virtual ICollection<CBS_ListAttachmentDto> CBS_ListAttachments { get; set; }


    }
}
